package org.keyyond.ms.scheduler.jobs;

import org.keyyond.ms.scheduler.service.MsZbgsJobService;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@DisallowConcurrentExecution //非并发执行
public class TemporaryEstimateOfIncomeJob implements BaseJob{
    
    @Autowired
    private MsZbgsJobService zbgsService;
    
	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		// TODO Auto-generated method stub
		zbgsService.temporaryEstimateOfIncomeJob();
		System.out.println("==========================计息job=========================");
	}

}
